package com.pzb.page.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.List;


/**
 * 页面模块对象 pg_page_item
 * 
 * @author pzb
 * @date 2021-09-25
 */
public class PgPageItem implements Serializable
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 模块编号：1轮播海报；2弹出图层；3公告提示；4多热区切图；5商品展示；6视频播放；7拼团；8限时抢购 */
    private Integer itemCode;

    /** 模块名称 */
    private String itemName;

    /** 热区背景图 */
    private String previewPath;

    /** 轮播海报集合 */
    List<PgPageItemScrollposter> scrollposterList;

    /** 弹出图层 */
    PgPageItemEject eject;

    /** 公告提示 */
    PgPageItemNotice notice;

    /** 热区切图集合 */
    List<PgPageItemHotspotarea> hotspotareaList;

    PgPageItemGoods itemGoods;

    PgPageItemVideo video;

    PgPageItemGroupbuying groupbuy;

    PgPageItemPanicbuying  panicbuy;

    PgPageItemPicture picture;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getItemCode() {
        return itemCode;
    }

    public void setItemCode(Integer itemCode) {
        this.itemCode = itemCode;
    }

    public String getPreviewPath() {
        return previewPath;
    }

    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath;
    }

    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }

    public List<PgPageItemScrollposter> getScrollposterList() {
        return scrollposterList;
    }

    public void setScrollposterList(List<PgPageItemScrollposter> scrollposterList) {
        this.scrollposterList = scrollposterList;
    }

    public PgPageItemEject getEject() {
        return eject;
    }

    public void setEject(PgPageItemEject eject) {
        this.eject = eject;
    }

    public PgPageItemNotice getNotice() {
        return notice;
    }

    public void setNotice(PgPageItemNotice notice) {
        this.notice = notice;
    }

    public List<PgPageItemHotspotarea> getHotspotareaList() {
        return hotspotareaList;
    }

    public void setHotspotareaList(List<PgPageItemHotspotarea> hotspotareaList) {
        this.hotspotareaList = hotspotareaList;
    }

    public PgPageItemGoods getItemGoods() {
        return itemGoods;
    }

    public void setItemGoods(PgPageItemGoods itemGoods) {
        this.itemGoods = itemGoods;
    }

    public PgPageItemVideo getVideo() {
        return video;
    }

    public void setVideo(PgPageItemVideo video) {
        this.video = video;
    }

    public PgPageItemGroupbuying getGroupbuy() {
        return groupbuy;
    }

    public void setGroupbuy(PgPageItemGroupbuying groupbuy) {
        this.groupbuy = groupbuy;
    }

    public PgPageItemPanicbuying getPanicbuy() {
        return panicbuy;
    }

    public void setPanicbuy(PgPageItemPanicbuying panicbuy) {
        this.panicbuy = panicbuy;
    }

    public PgPageItemPicture getPicture() {
        return picture;
    }

    public void setPicture(PgPageItemPicture picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .toString();
    }
}
